<script setup lang="ts">
import { RouterView } from 'vue-router'
</script>

<template>
  <div id="app">
    <RouterView />
  </div>
</template>

<style>
:root {
  --sidebar-bg: #f8f9fa;
  --sidebar-hover: #e9ecef;
  --sidebar-active: #dee2e6;
  --main-bg: #ffffff;
  --chat-bg: #ffffff;
  --user-msg-bg: #f1f3f4;
  --assistant-msg-bg: #ffffff;
  --border-color: #e5e5e5;
  --text-primary: #202123;
  --text-secondary: #5f6368;
  --input-bg: #ffffff;
  --input-border: #dadce0;
  --button-bg: #10a37f;
  --button-hover: #0d8a6a;
}

#app {
  min-height: 100vh;
  background-color: var(--main-bg);
  width: 100vw;
  max-width: none;
  margin: 0;
  padding: 0;
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* 全局样式重置 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  overflow: hidden;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: var(--main-bg);
}

html {
  width: 100%;
  height: 100%;
}
</style>